package work.huangxin.share.mapper;

import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import work.huangxin.share.domain.other.LikeMessage;

import java.util.List;

public interface LikeMessageMapper extends Mapper<LikeMessage> {


    LikeMessage getLikeMessage(@Param("likeId") Integer likeId);

    Integer getToalLikeNum(@Param("articleId") Integer articleId);

    List<LikeMessage> selectTotalLikeMessage(@Param("userId") Integer userId);
}